//package com.cuntian.rocketmq.consumer;
//
//import lombok.extern.slf4j.Slf4j;
//import org.apache.rocketmq.spring.annotation.RocketMQMessageListener;
//import org.springframework.stereotype.Component;
//
//@Slf4j
//@Component
//@RocketMQMessageListener(
//        topic = "cuntain-study-rocketmq",
//        consumerGroup = "cuntain-springboot-rocketmq-tag-object",
//        selectorExpression = "cuntain"    // 根据 tag 做过滤
//)
//public class RocketMQConsumerObject implements RocketMQListener<MyMessage> {
//    @Override
//    public void onMessage(QinyiMessage message) {
//
//        log.info("consume message in RocketMQConsumerObject: [{}]",
//                JSON.toJSONString(message));
//        // so something
//    }
//}
